package c.h.a.j0;

import android.content.SharedPreferences;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import c.h.a.m0.h;
import c.h.a.m0.i;

/* compiled from: lambda */
public final /* synthetic */ class g0 implements OnClickListener {
    public final /* synthetic */ a1 a;
    public final /* synthetic */ ViewGroup b;
    public final /* synthetic */ View c;

    public /* synthetic */ g0(a1 a1Var, ViewGroup viewGroup, View view) {
        this.a = a1Var;
        this.b = viewGroup;
        this.c = view;
    }

    public final void onClick(View view) {
        a1 a1Var = this.a;
        ViewGroup viewGroup = this.b;
        View view2 = this.c;
        if (!a1Var.m0()) {
            i iVar = i.a;
            iVar = i.a;
            SharedPreferences sharedPreferences = i.b;
            sharedPreferences.edit().putBoolean("can_show_rate_dialog", false).apply();
            sharedPreferences.edit().putBoolean("rate_scene_clicked_tab_thermal", true).apply();
            h.m(a1Var.Z(), "com.liuzh.deviceinfo");
            viewGroup.removeView(view2);
            viewGroup.setVisibility(8);
        }
    }
}
